<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:0px;border:0px">
  <t:datagrid name="deviceList" checkbox="false" fitColumns="true" title="加工服务报表" actionUrl="processingServiceController.do?reportDatagrid" idField="id" fit="true" queryMode="group">
   <t:dgCol title="主键"  field="id"  hidden="true"  queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="开始日期"  field="beginDate" formatter="yyyy-MM-dd" hidden="true"   query="true"  queryMode="single"  width="120"></t:dgCol>   
   <t:dgCol title="结束日期"  field="endDate" formatter="yyyy-MM-dd"   query="true" hidden="true" queryMode="single"  width="120"></t:dgCol>      
   <t:dgCol title="开始日期" field="begin" width="100" ></t:dgCol> 
   <t:dgCol title="结束日期" field="end" width="100" ></t:dgCol> 
   <t:dgCol title="执行教师" field="teacherName" width="100" ></t:dgCol> 
   <t:dgCol title="加工时长"  field="totalTime"   queryMode="single"  width="50"></t:dgCol>
   <t:dgCol title="评价得分"  field="avgScore"   queryMode="single"  width="50"></t:dgCol>
   
   
  </t:datagrid>
  </div>
 </div>
 <script type="text/javascript">
 $(document).ready(function(){	 
		//给时间控件加上样式
		$("input[name='beginDate']").attr("class","Wdate").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
		$("input[name='endDate']").attr("class","Wdate").click(function(){WdatePicker({dateFmt:'yyyy-MM-dd'});});
 });
 
   
 
  
 </script>